createModifier

Create a new shape modifier block, fails if type is unknown or not a valid modifier block type. A modifier changes the path of a shape, or draws the shape several times. Experimental: this API may change in a minor release.

Return

the created modifier's handle.

Parameters

type

the type of the modifier.